package com.example.basic.bytes;

import java.io.*;

public class Test3 {
    public static void main(String[] args) throws Exception {
        File file = new File("./data2.txt");

        FileInputStream is = new FileInputStream(file);

//        BufferedReader reader = new BufferedReader(new FileReader(file));
//
//        StringBuilder sb = new StringBuilder();
//        String s = reader.readLine();
//        while (s != null) {
//            sb.append(s);
//            s = reader.readLine();
//        }
//        System.out.println(sb.toString());
    }
}
